package com.shopnight.vo;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class UserIndentVO {

    //订单id
    private Long indentId;
    /**
     * 订单号
     */
    private String indentCode;

    /**
     * 订单总价
     */
    private BigDecimal prices;

    private Date createTime;

    /**
     * 订单状态[0-已取消；1-已下单：2-正在配送：3-完成配送]
     */
    private Integer indentStatus;

    private Integer orderType;

    /**
     * 组织id
     */
    private Integer orgId;

    private String orgName;

    /**
     * 商品集
     */
    private List<GoodsVO> goodsList;


    @Data
    public static class GoodsVO{
        /**
         * 商品名字
         */
        private String orderName;
        /**
         * 价格
         */
        private BigDecimal purchasePrice;
        private Integer orderNum;
        private String imgUrl;
    }

}
